<?php

use Faker\Generator as Faker;

$factory->define(\App\Models\UserAddress::class, function (Faker $faker) {
    return [
        'province_id' => 110000,
        'city_id' => 110100,
        'district_id' => 110108,
        'address' => sprintf('第%d街道第%d号', $faker->randomNumber(2), $faker->randomNumber(3)),
        'zip' => rand(100000, 999999),
        'contact_name' => $faker->name,
        'contact_phone' => $faker->phoneNumber,
    ];
});
